home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr11
/
powerb5.zip
/
P5MSC011.TIP
< prev
next >
Wrap
Text File
|
1993-06-01
|
3KB
|
101 lines
GeoWorks comes with some interesting icons, but it displays
every file -- except its own programs and the files created
in them -- with the same two dull images. What's more, if
GeoWorks doesn't recognize a data file's extension, it won't
allow you to launch a program and load a file by clicking
the data file.
I've found a way to address both of these problems: Assign
icons to non-GeoWorks files and programs, and load
non-GeoWorks files into GeoWorks programs (most commonly
Notepad) with a double-click. All you need to do to
accomplish this is edit GEOS.INI (you must do this outside
of GeoWorks, because GeoWorks keeps the file open while it's
running). Open GEOS.INI with a text editor, such as DOS
5.0's EDIT, and find the line that reads 'filenameTokens =
{'. After this line you'll find a series of statements that
associate file names and wild cards with icons and programs.
For example, the line *.EXE = "gDOS",0 assigns all EXE files
the standard "DOS in a box" icon. *.TXT = "FILE",0,"NPAD",0
is more complex: "FILE",0 assigns each TXT file the standard
"file in a DOS box" icon, while "NPAD",0 tells GeoWorks to
bring up Notepad and load the file when the icon is
double-clicked.
You can add to these lines to give files the icon of your
choice. I edit BASIC files frequently, so I added the line
*.BAS = "plnr",0,"NPAD",0, which gives all BAS files a
GeoPlanner file icon and loads them into Notepad when I
double-click on them. Knowing how to change GeoWorks icons
can be useful if you use Notepad often to edit files with a
few particular extensions. I've enclosed a list [see
"GeoWorks Icon Codes"] of valid icon codes (note that
they're case sensitive).
One important point: GeoWorks scans the filenameTokens
statements from top to bottom and chooses the first entry
that matches each file name, so the line MYPROG.EXE =
"FCAB",0 must come before *.EXE = "gDOS",0 or it will have
no effect.
Ed Crowe
Oak Lawn, Illinois
Editor's Note: If you use PC World Online, you've had some
experience with the GeoWorks environment. This tip can come
in handy if you decide to use that environment for more than
simply downloading ready-made *.* or Dialog Box files. You
can use the Alt-F command to save the table below to a text
file, or the Alt-P command to print this entire tip for
future reference.
---- BEGIN LISTING ----
GeoWorks Icon Codes
DESK File cabinet
FCAB Open file cabinet
FLDR Directory folder
FILE Files in DOS box
gDOS DOS in box
gDAT GeoWorks symbol on stack of papers
gAPP GeoWorks symbol
NPAD Notepad
WPOO GeoWrite
DPOO GeoDraw
WDAT GeoWrite file
DDAT GeoDraw file
BANR GeoBanner
NFCT Nimbus Font Converter
3DFt 3-D Font Demo
DUMP Screen dumper
PLNR GeoPlanner
plnr GeoPlanner file
PMGR Preferences
AMOL America Online
VIEW Quattro Pro viewer
VEPS Quattro Pro EPS file
VWQl Quattro Pro file
VWK1 Lotus 1-2-3 file
TERM GeoComm
ADBK Address book
adbk Address book file
PERF Performance
CALc Calculator
BONC Bounce
TETR Tetris
SOLI Solitaire
Scrp Scrapbook
scbk Scrapbook file
You must know these codes to assign GeoWorks icons to
DOS files.
---- END LISTING ----
Title: Gee-Whiz Icons in GeoWorks
Category: MSC
Issue Date: December, 1992
Editor: Brett Glass
Supplementary Files: None
Filename: P5MSC011.TIP